package com.huabo.system.oracle.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TBL_MANAGE_USER_BOOK")
@ApiModel(value="TblManageUserBook")
public class TblManageUserBook {


//    @TableId("STAFFID")
//    @Id
//    @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select HIBERNATE_SEQUENCE.nextval from dual")
    @TableField("STAFFID")
    private BigDecimal staffid;
    @TableField("BOOKID")
    private String bookid;
    @TableField("STATUS")
    private BigDecimal status;

//    private TblManageUserBookId id;
//    private TblStaff tblStaff;
//    private TblAccBook tblAccBook;
}
